<?php

namespace common\models\Reguomin;

use Yii;

/**
 * This is the model class for table "reguomin".
 *
 * @property integer $rem_id
 * @property string $rem_name
 */
class Reguomin extends \yii\db\ActiveRecord
{
    /**
     * @inheritdoc
     */
    public static function tableName()
    {
        return 'reguomin';
    }

    /**
     * @inheritdoc
     */
    public function rules()
    {
        return [
            [['rem_name'], 'required'],
            [['rem_name'], 'string', 'max' => 255],
        ];
    }

    /**
     * @inheritdoc
     */
    public function attributeLabels()
    {
        return [
            'rem_id' => Yii::t('app', '国民经济分类列表'),
            'rem_name' => Yii::t('app', '国民经济分类'),
        ];
    }
}
